package koction.model.consumer;

import java.util.List;
import java.util.Map;

import koction.model.admin.AskSellerVO;
import koction.model.product.ProductVO;
import koction.model.purchaseListBoard.ListVO;
import koction.model.seller.SellerVO;

public interface ConsumerService {
	public ConsumerVO consumerIdCheck(String id);
	public int registerConsumer(ConsumerVO cvo);
	public int updateConsumer(ConsumerVO cvo);
	public ConsumerVO loginConsumer(ConsumerVO cvo);
	public int deleteConsumer(ConsumerVO cvo);
	public void puchasePoint(ConsumerVO cvo);
	public ConsumerVO findConsumerById(String id);
	public void buyProduct(ProductVO pvo, int amount, ConsumerVO cvo, int point);
	public ListVO getPurchaseList(String id, String pageNo);
	public void deletePurchaseList(String[] purchaseNo);
	public SellerVO findSellerByConsumerId(String id);
	public void askSeller(AskSellerVO asvo);
	public GradeVO myGrade(ConsumerVO cvo);
	public  ProductVO findProductById(int productId);
	public int updateGrade(Map map);
}
